package school.valon.rest.core;

import org.glassfish.jersey.server.ResourceConfig;
import org.glassfish.jersey.server.filter.RolesAllowedDynamicFeature;

import com.owlike.genson.ext.jaxrs.GensonJsonConverter;

import school.valon.rest.services.CourseService;
import school.valon.rest.services.PaymentService;
import school.valon.rest.services.SchoolPolicyService;
import school.valon.rest.services.SurveyService;
import school.valon.rest.services.UserService;
import school.valon.rest.services.ValidationRulesService;

public class ServiceRegisterApplication extends ResourceConfig {
	
    public ServiceRegisterApplication() {
    	register(ServiceFilter.class);
    	register(GensonJsonConverter.class);
    	register(RolesAllowedDynamicFeature.class);
    	register(CourseService.class);
    	register(PaymentService.class);
    	register(SchoolPolicyService.class);
    	register(SurveyService.class);
    	register(UserService.class);
    	register(ValidationRulesService.class);
    }



}